package routing;

import geocoding.CustomNodes;

public class NewTrip {

	public Trip makeNewTrip(Trip myTrip, CustomNodes cn){
		Trip newTrip = new Trip();
		for (int i=0; i<myTrip.getTripList().size(); i++){
			if (cn.getSilent(myTrip.getTripItem(i)) ==false){
				newTrip.addTripItem(myTrip.getTripItem(i));
				newTrip.addCheckItem(false);
			}
		}
		return newTrip;
	}
	
	
}
